﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Portal.Workflow.StartPluginTemplate
{
    public interface IWorkflowStartPlugin
    {
        string ServiceId { get; }
        string ServiceName { get; }
        void Execute(IDbTransaction Trans, string SiteId, string ObjectType, string ObjectId, object odata, string CommandAction);
    }

    public class WorkflowStartPluginTemplate : IWorkflowStartPlugin
    {
        public virtual string ServiceId { get { return null; } }
        public virtual string ServiceName { get { return null; } }
        public virtual void Execute(IDbTransaction Trans, string SiteId, string ObjectType, string ObjectId, object odata, string CommandAction) { }
    }
}
